package com.java01.lang.array;

public class CopyArray {

	public static void main(String[] args) {
		int[] arrayA = {1,2,3,4,5,6,7,8,9,0};
		int[] arrayB = new int[arrayA.length];
		
		System.arraycopy(arrayA, 0, arrayB, 0, arrayA.length);

		for(int num:arrayB){
			System.out.print(num);
		}
	}
}
